/*
 * DespesaBusinessDelegate.java
 *
 * Created on 19 de Junho de 2007, 12:58
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package br.com.esp.agendafinanceira.delegate;

import br.com.esp.agendafinanceira.exception.I18NException;
import br.com.esp.agendafinanceira.form.DespesaForm;
import br.com.esp.agendafinanceira.form.UsuarioForm;
import java.util.List;

/**
 *
 * @author David
 */
public interface DespesaBusinessDelegate extends GenericBusinessDelegate {
    
    void insert(final DespesaForm despesaForm, final UsuarioForm usuarioForm) throws  I18NException;
    
    List<DespesaForm> getAllDespesasByUsuario(final UsuarioForm user) throws I18NException;
    
    List<DespesaForm> getAllDespesas() throws I18NException;
    
    void delete(Object pk)  throws I18NException;
}
